home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hottest 6
/
Hottest 6 (1996)(PDSoft)[!].iso
/
software
/
videoutils
/
a-g
/
ami2d
/
macros
/
gendispy.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1978-11-24
|
589b
|
37 lines
/* script to generate y displacement BC's */
options results
address ami2d
if ~show('l', "rexxmathlib.library") then do
check = addlib('rexxmathlib.library',0,-30,0)
end
'info(node)'
f1 = result
parse var f1 nd i1a x1a y1a
if i1a = 0 then exit
'info(node)'
f2 = result
parse var f2 nd i1b x1b y1b
if i1b = 0 then exit
if i1a > i1b then do
parse var f2 nd i1a x1a y1a
parse var f1 nd i1b x1b y1b
end
in = i1b - i1a
'get inodes'
ni = result
if in > ni then inc = ni
else inc = 1
'get disp'
disp = result
do i=0 to in by inc
n = i1a + i
'dispy('n','disp')'
end
exit